package com.dfrz.problem.utils;

public interface IConstant {
	/**
	 * 登录会话标志
	 */
	public final static String KEY_SES_LOGIN_USER = "KEY_SES_LOGIN_USER";
	
	/**
	 * 必须输入账户和密码
	 */
	public static final String ERR_CODE_NEED_USER_PASSWORD = "ERR_CODE_NEED_USER_PASSWORD";

	/**
	 * 登录成功
	 */
	public static final String LOGIN_SUCCESS = "LOGIN_SUCCESS";

	/**
	 * 登录失败
	 */
	public static final String LOGIN_LOSE = "LOGIN_LOSE";

	/**
	 * 密码输入错误
	 */
	public static final String PASSWORD_ERROR = "PASSWORD_ERROR";

	/**
	 * 用户不存在
	 */
	public static final String USER_NOT_EXIST = "USER_NOT_EXIST";

	/**
	 * 注册信息不能为空
	 */
	public static final String REGISTER_INFO_NOT_NULL = "REGISTER_INFO_NOT_NULL";

	/**
	 * 账户已存在
	 */
	public static final String EXISTION_ACCOUNT = "EXISTION_ACCOUNT";

	/**
	 * 账户注册成功
	 */
	public static final String REGISTER_SUCCESS = "REGISTER_SUCCESS";
	
	/**
	 * 删除员工信息成功
	 * @author WANG
	 */
	public static final String DELETE_EMPLOYEE_SUCCESS = "DELETE_EMPLOYEE_SUCCESS";
	
	/**
	 * 删除员工信息失败
	 * @author WANG
	 */
	public static final String DELETE_EMPLOYEE_ERROR = "DELETE_EMPLOYEE_ERROR";

	/**
	 * 更新成功
	 */
	public static final String UPDATE_SUCCESS = "UPDATE_SUCCESS";
	
	/**
	 * 更新失败
	 */
	public static final String UPDATE_LOSE = "UPDATE_LOSE";

	/**
	 * 用户未登录
	 */
	public static final String NOT_LOGIN = "NOT_LOGIN";

	/**
	 * 问题不存在
	 */
	public static final String PROBLEM_NOT_EXIST = "PROBLEM_NOT_EXIST";

	/**
	 * 员工信息不存在
	 */
	public static final String EMPLOYEE_NOT_EXIST = "EMPLOYEE_NOT_EXIST";

	/**
	 * 系统管理员已存在
	 */
	public static final String SYSTEMADMIN_ALREADY_EXIST = "SYSTEMADMIN_ALREADY_EXIST";

	/**
	 * 系统管理员最多只能3个
	 */
	public static final String SYSTEMADMIN_MAXIMUM_3 = "SYSTEMADMIN_MAXIMUM_3";
	
	/**
	 * 删除员工信息失败
	 * @author WANG
	 */
	public static final String GIVEROLE_EMPLOYEE_ERROR = "GIVEROLE_EMPLOYEE_ERROR";
	/**
	 * 删除员工信息失败
	 * @author WANG
	 */
	public static final String GIVEROLE_EMPLOYEE_SUCCESS = "GIVEROLE_EMPLOYEE_SUCCESS";

	/**
	 * 项目信息不存在
	 */
	public static final String PROJECT_NOT_EXIST = "PROJECT_NOT_EXIST";

	/**
	 * 角色不存在
	 */
	public static final String ROLE_EXIST = "ROLE_EXIST";
}
